package edu.sias.question.service;


import edu.sias.question.domain.pojo.CourseAndCatalogId;
import edu.sias.question.domain.pojo.Question;
import edu.sias.question.domain.pojo.UserTopic;
import edu.sias.question.domain.vo.TopicVo;

import java.io.IOException;
import java.util.List;

public interface QuestionService {

    List<Question> findList(String  courseName, String QuestionCode);

    void addOrUpdate(Question question);

    void addOrUpdate(Question question) throws IOException;
    List<TopicVo> findUserList(UserTopic userTopic);
    List<Question> findClassicList();

    void updateClassic(int id);

    QuestionDTO getById(Long id) throws IOException;

    void deleteById(Long id) throws IOException;
}
